package br.com.skolar.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface QuestionServiceAsync {
	void searchQuestions(AsyncCallback<List<Question>> cb);

	void save(Question question, AsyncCallback<Question> cb);

	void loadAnswers(Question question,	AsyncCallback<List<Answer>> cb);

	void save(Answer answer, AsyncCallback<Answer> cb);
}